package com.dongdongshop.service.Impl;

import com.dongdongshop.pojo.Item;
import com.dongdongshop.service.ItemService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ItemServiceImpl implements ItemService {
    @Override
    public List<Item> selectItemByGoodsId(Long id) {
        return null;
    }

    @Override
    public Item getItemById(Long skuId) {
        return null;
    }

    @Override
    public int updateItem(Item item) {
        System.out.println("执行本地事物成功"+item.getGoodsId());
        return 1;
    }
}
